package com.credit.jumu.playcard.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.credit.jumu.playcard.R;
import com.credit.jumu.playcard.base.BaseActivity;

/**
 * Created by Administrator on 2017/10/19/019.
 */
//储蓄卡包
public class BankCardAllActivity extends BaseActivity {
	ImageView addbankcard;
	ImageView imageIcon;
	ImageView titleback;
	TextView title;
	@Override
	protected void onCreate(@Nullable Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_allbankrard);
		initview();
		backClick(R.id.titleback,this);
	}

	private void initview() {
		addbankcard = (ImageView) findViewById(R.id.addbankcard);
		addbankcard.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(BankCardAllActivity.this, BindingCardActivity.class);
				intent.putExtra("type", "binding");
				startActivity(intent);
			}
		});
		imageIcon = (ImageView) findViewById(R.id.imageIcon);
		imageIcon.setVisibility(View.GONE);
		titleback = (ImageView) findViewById(R.id.titleback);
		titleback.setVisibility(View.VISIBLE);
		title = (TextView) findViewById(R.id.title);
		title.setText("我的储蓄卡包");
	}
}
